package ldh.im.admin.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
public class WebRtcController {

    @RequestMapping(method = RequestMethod.GET, value = "/webrtc/local")
    public String main() throws Exception {
        return "webrtc/webrtcLocal";
    }

    @RequestMapping(method = RequestMethod.GET, value = "/webrtc/demo")
    public String demo() throws Exception {
        return "webrtc/demo";
    }

    @RequestMapping(method = RequestMethod.GET, value = "/webrtc/demo2")
    public String demo2() throws Exception {
        return "webrtc/demo2";
    }

    @RequestMapping(method = RequestMethod.GET, value = "/webrtc/demo3")
    public String demo3() throws Exception {
        return "webrtc/demo3";
    }

    @RequestMapping(method = RequestMethod.GET, value = "/webrtc/webrtc_hm")
    public String webrtc_hm() throws Exception {
        return "webrtc/webrtc_hm";
    }

    @RequestMapping(method = RequestMethod.GET, value = "/webrtc/webrtc_hm2")
    public String webrtc_hm2() throws Exception {
        return "webrtc/webrtc_hm2";
    }

    @RequestMapping(method = RequestMethod.GET, value = "/webrtc/webrtcLocal")
    public String webrtcLocal() throws Exception {
        return "webrtc/webrtcLocal";
    }

    @RequestMapping(method = RequestMethod.GET, value = "/webrtc/demo4")
    public String demo4() throws Exception {
        return "webrtc/demo4";
    }
}
